//
//  MSTemplateBaseView.m
//  MSJD
//
//  Created by xiangbo on 2018/9/29.
//  Copyright © 2018年 xiangbo. All rights reserved.
//

#import "MSTemplateBaseView.h"

@implementation MSTemplateBaseView
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor whiteColor];
    }
    return self;
}
- (void)configData:(id)data indexPath:(NSIndexPath *)indexPath{
    [self setupTemplateData:data];
}
- (void)setupTemplateData:(MSFoodData *)templateData{
    _templateData = templateData;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
